package his.persistence;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import his.entity.Voucher;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface VoucherMapper extends BaseMapper<Voucher> {
    //定义查找VoucherNum的方法
    @Select("SELECT VoucherNum FROM voucher")
    public List<String> getVoucherNum();
}
